package com.hrt.manage.menus.dao;

import java.util.List;

import com.hrt.base.BaseDao;
import com.hrt.bean.ViewResource;

public interface ViewResourceDao extends BaseDao<ViewResource>{

	public	List<ViewResource> queryByPage(Integer scope, int pageIndex, int pageSize);

	public Long totalCount(Integer scope);

	public ViewResource getViewResourceById(Long id);

	public List<ViewResource> queryViewResByRole(Long roleId);

	public List<ViewResource> listManageMenuns(Long roleId, Integer scope);

	public List<ViewResource> listManageMenuns(Integer scope);

	public List<ViewResource> queryViewResByRole(Long roleId, Integer scope);

	
}
